package com.zFace.单例模式;

/**
 * 静态内部类
 * 是否 Lazy 初始化：是
 * 是否多线程安全：是
 */
public class Demo03 {

	private Demo03() {
	}

	private static class SingletonHolder {
		private static final Demo03 instance = new Demo03();

	}

	public static final Demo03 getInstance() {
		return SingletonHolder.instance;
	}
}
